<?php
namespace app\admin\validate;


use think\Validate;

class AddRole extends Validate
{
    protected $rule = [
        'name'  =>  'require',
        'desc'  =>  'require',
    ];

    protected $message = [
        'name.require'  =>  '名称必须输入',
        'desc.require'  =>  '简介必须输入',
    ];
}